using System;
using System.Collections.Generic;
using System.Xml.Serialization;

namespace Code5Systems.FormMaster.Business
{

	#region XmlImportInfo
	[Serializable()]public class DataTransferInfo
	{
		private int _totalRows;
		private int _successRows;
		private int _failedRows;
		private string _extTableName;
		private List<ExtTableException> _exceptionList;
		
#region Constructors
		public DataTransferInfo()
		{
			_exceptionList = new List<ExtTableException>();
			_totalRows = 0;
			_successRows = 0;
			_failedRows = 0;
		}
#endregion
		
#region Public Properties
		
		public int TotalRows
		{
			get
			{
				return _totalRows;
			}
			set
			{
				_totalRows = value;
			}
		}
		
		public int SuccessRows
		{
			get
			{
				return _successRows;
			}
			set
			{
				_successRows = value;
			}
		}
		
		public int FailedRows
		{
			get
			{
				return _failedRows;
			}
			set
			{
				_failedRows = value;
			}
		}
		
		public string ExtTableName
		{
			get
			{
				return _extTableName;
			}
			set
			{
				_extTableName = value;
			}
		}
		
		[XmlIgnore()]public List<ExtTableException> ExceptionList
		{
			get
			{
				return _exceptionList;
			}
		}
		
#endregion
		
	}
#endregion
	
}
